package com.danskin.wechat.dao;

import com.danskin.wechat.entity.ActivityApplyConfigOption;
import com.danskin.wechat.entity.example.ActivityApplyConfigOptionExample;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ActivityApplyConfigOptionDao {
    int countByExample(ActivityApplyConfigOptionExample example);

    int deleteByExample(ActivityApplyConfigOptionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ActivityApplyConfigOption record);

    int insertSelective(ActivityApplyConfigOption record);

    List<ActivityApplyConfigOption> selectByExample(ActivityApplyConfigOptionExample example);

    ActivityApplyConfigOption selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ActivityApplyConfigOption record, @Param("example") ActivityApplyConfigOptionExample example);

    int updateByExample(@Param("record") ActivityApplyConfigOption record, @Param("example") ActivityApplyConfigOptionExample example);

    int updateByPrimaryKeySelective(ActivityApplyConfigOption record);

    int updateByPrimaryKey(ActivityApplyConfigOption record);
}